//
//  UITabBarController+LYAdd.m
//  LYDevelopKit
//
//  Created by 李阳 on 2018/6/7.
//

#import "UITabBarController+LYAdd.h"

@implementation UITabBarController (LYAdd)

- (void)setItemTitleTextAttributes:(NSDictionary<NSAttributedStringKey,id> *)attributes forState:(UIControlState)state
{
    UITabBarItem *item = [UITabBarItem appearanceWhenContainedIn:[self class], nil];
    [item setTitleTextAttributes:attributes forState:state];
}

@end
